package com.hgx.su.example.common.springboot.mail.dto;

import java.io.Serializable;
import java.util.Arrays;

/**
 * Description:
 * author: HGX
 * DateTime: 2021-02-20 16:59
 */
public class SendEmailDto implements Serializable {

    /**
     * 邮件接收方，可多人
     */
    private String tos;
    /**
     * 邮件主题
     */
    private String subject;
    /**
     * 邮件内容
     */
    private String content;

    public String getTos() {
        return tos;
    }

    public void setTos(String tos) {
        this.tos = tos;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "SendEmailDto{" + "tos=" + (tos == null ? "null" : Arrays.asList(tos).toString()) +
                ", subject='" + subject + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
